package com.example.imtoken.modules.main.my.address

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.example.imtoken.databinding.ItemAddressBookBinding
import com.example.imtoken.room.schema.AddressBookSchema

class AddressAdapter(layoutResId: Int) :
    BaseQuickAdapter<AddressBookSchema, BaseDataBindingHolder<ItemAddressBookBinding>>(layoutResId) {
    override fun convert(
        holder: BaseDataBindingHolder<ItemAddressBookBinding>,
        item: AddressBookSchema
    ) {
        holder.dataBinding?.item = item
    }

}